#ifndef CORDIC8_HEADER
#define CORDIC8_HEADER

struct CordicRecord{
	char x;
	char y;
	char z;
};

typedef struct CordicRecord CordicRecord;

extern const char neg_atantable [];
extern const char zro_atantable [];
extern const char pos_atantable [];

extern const char neg_K;
extern const char zro_K;
extern const char pos_K;

extern const char neg_Fi [];
extern const char zro_Fi [];
extern const char pos_Fi [];

void cordic(CordicRecord*, char, unsigned char);

#endif
